package com.sky.blog.dao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.blog.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author sky  2022/3/27
 * @version 1.0
 */

@Data
@TableName("blog_social")
@ApiModel("第三方登录信息")
@EqualsAndHashCode(callSuper = true)
public class Social extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "第三方标题", example = "qq")
    private String title;
    @ApiModelProperty(value = "链接", example = "https://gitee.com")
    private String href;
    @ApiModelProperty(value = "图标", example = "iconqq")
    private String icon;
    @ApiModelProperty(value = "颜色", example = "#1AB6FF")
    private String color;

    /**
     * 排序
     */
    private Integer sort;

}
